const state = {
  userInfo: {
    name: '小韩',
    age: 18
  }
}

const mutations = {
  setUserName (state, payload) {
    state.userInfo.name = payload
  }
}

const actions = {}

const getters = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}
